package com.ckh.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ckh.springboot.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ckh.springboot.entity.duihuanjiluVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ckh
 * @since 2022-04-19
 */
public interface IGoodsService extends IService<Goods> {

    Page<Goods> findPage(Page<Goods> page, String name);

    Page<duihuanjiluVo> getUserDhsp(Page<duihuanjiluVo> page,Integer userId);

    void setPersonGoods(Integer goodsId, Integer personId);

    void deletePersonGoods(Integer goodsId, Integer personId);
}
